import { videoStoreHook } from "@/store/module/video";
import router from "@/router";
import type { NewCMSContent } from "@/common/type/cms/content";

const routeOut = (video: NewCMSContent) => {
  videoStoreHook().CHANGE_VIDEO(video);
  router.push("/play");
};

export { routeOut };
